package com.qidian.mespro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.WorkflowProcess;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public interface WorkflowProcessService {
    Result<PageInfo<WorkflowProcess>> selectList(Long workflowId,int pageNum, int pageSize);

    Result<WorkflowProcess> addWorkflowProcess(WorkflowProcess workflowProcess);

    Result<WorkflowProcess> selectWorkflowProcessById(Long id);

    Result updateWorkflowProcessById(WorkflowProcess workflowProcess);

    Result deleteWorkflowProcessById(Long id);

    Result batchDelete(Long[] ids);
}
